package com.enjoyor.soa.traffic.ping.efoms.pojo;

import org.springframework.context.ApplicationEvent;

/**
 * 事件体
 * @ClassNameMessagePushEvent
 * @Description TODO
 * @Author ZSY
 * @Date 2019/1/17 10:03
 * @Version 1.0
 **/
public class MessagePushEventPojo extends ApplicationEvent {

    private PingResultPojo pingResultPojo;

    public MessagePushEventPojo(Object source,PingResultPojo pingResultPojo) {
        super(source);
        this.pingResultPojo = pingResultPojo;
    }

    public PingResultPojo getPingResultPojo() {
        return pingResultPojo;
    }

    public void setPingResultPojo(PingResultPojo pingResultPojo) {
        this.pingResultPojo = pingResultPojo;
    }
}
